#include "AutomaticStruct.h"

AutomaticStruct::AutomaticStruct()
{

    m_isExecute = false;
    m_isSatisfy = false;
    m_isHasSatisfy = false;
    m_id = 0;
    m_icoId = 0;
    m_conditionSatisfyType = 0;

}
bool AutomaticStruct::isExecute() const
{
    return m_isExecute;
}

void AutomaticStruct::setIsExecute(bool isExecute)
{
    m_isExecute = isExecute;
}

quint8 AutomaticStruct::conditionSatisfyType() const
{
    return m_conditionSatisfyType;
}

void AutomaticStruct::setConditionSatisfyType(const quint8 &conditionSatisfyType)
{
    m_conditionSatisfyType = conditionSatisfyType;
}
QList<ActionStruct> AutomaticStruct::actionList() const
{
    return m_actionList;
}

void AutomaticStruct::setActionList(const QList<ActionStruct> &actionList)
{
    m_actionList = actionList;
}
QList<EquipmentConditionStruct> AutomaticStruct::equipmentConditionList() const
{
    return m_equipmentConditionList;
}

void AutomaticStruct::setEquipmentConditionList(const QList<EquipmentConditionStruct> &equipmentConditionList)
{
    m_equipmentConditionList = equipmentConditionList;
}
QList<TimeConditionStruct> AutomaticStruct::timeConditionList() const
{
    return m_timeConditionList;
}

void AutomaticStruct::setTimeConditionList(const QList<TimeConditionStruct> &timeConditionList)
{
    m_timeConditionList = timeConditionList;
}
quint64 AutomaticStruct::id() const
{
    return m_id;
}

void AutomaticStruct::setId(const quint64 &id)
{
    m_id = id;
}
QString AutomaticStruct::name() const
{
    return m_name;
}

void AutomaticStruct::setName(const QString &name)
{
    m_name = name;
}
quint16 AutomaticStruct::icoId() const
{
    return m_icoId;
}

void AutomaticStruct::setIcoId(const quint16 &icoId)
{
    m_icoId = icoId;
}
bool AutomaticStruct::isSatisfy() const
{
    return m_isSatisfy;
}

void AutomaticStruct::setIsSatisfy(bool isSatisfy)
{
    m_isSatisfy = isSatisfy;
}
bool AutomaticStruct::isHasSatisfy() const
{
    return m_isHasSatisfy;
}

void AutomaticStruct::setIsHasSatisfy(bool isHasSatisfy)
{
    m_isHasSatisfy = isHasSatisfy;
}





















